import net from '../index'
import url from '../url'
// 产权新增(临时表)
export const addRegisterMsg = query => {
  return net.post(url.addRegisterMsg, query)
}
export const addControlMsg = query => {
  return net.post(url.addControlMsg, query)
}
export const addGoverningBody = query => {
  return net.post(url.addGoverningBody, query)
}
export const addShareType = query => {
  return net.post(url.addShareType, query)
}
export const addPartner = query => {
  return net.post(url.addPartner, query)
}
export const addShareholder = query => {
  return net.post(url.addShareholder, query)
}
export const editShareholder = query => {
  return net.post(url.editShareholder, query)
}
export const addBasicMsg = query => {
  return net.post(url.addBasicMsg, query)
}
// 产权新增中修改(临时表)
export const getEditControlMsg = query => {
  return net.post(url.getEditControlMsg, query)
}
export const getEditBasicMsg = query => {
  return net.post(url.getEditBasicMsg, query)
}
export const getSingleGoverment = query => {
  return net.post(url.getSingleGoverment, query)
}
export const getSingleShareType = query => {
  return net.post(url.getSingleShareType, query)
}
export const getSingleOutMoney = query => {
  return net.post(url.getSingleOutMoney, query)
}
export const getEditRegisterMsg = query => {
  return net.post(url.getEditRegisterMsg, query)
}
export const editGoverment = query => {
  return net.post(url.editGoverment, query)
}
export const editShareType = query => {
  return net.post(url.editShareType, query)
}
export const editPartner = query => {
  return net.post(url.editPartner, query)
}
// 产权新增中删除(临时表)
export const delManagement = query => {
  return net.post(url.delManagement, query)
}
export const delShareType = query => {
  return net.post(url.delShareType, query)
}
export const delOutMoney = query => {
  return net.post(url.delOutMoney, query)
}
// 产权新增(正式表)
export const addShareTypeAndPartner = query => {
  return net.post(url.addShareTypeAndPartner, query)
}
export const addGoverningBodyForaml = query => {
  return net.post(url.addGoverningBodyForaml, query)
}
// 管控信息下拉框数据获取
export const cmbusinessTypes = query => {
  return net.post(url.cmbusinessTypes, query)
}
export const countryBusinessTypes = query => {
  return net.post(url.countryBusinessTypes, query)
}
export const fcompanyTypes = query => {
  return net.post(url.fcompanyTypes, query)
}
export const propertySource = query => {
  return net.post(url.propertySource, query)
}
export const propertyQuit = query => {
  return net.post(url.propertyQuit, query)
}
export const businessStatus = query => {
  return net.post(url.businessStatus, query)
}
export const accountingType = query => {
  return net.post(url.accountingType, query)
}
export const registerStatus = query => {
  return net.post(url.registerStatus, query)
}
export const purpose = query => {
  return net.post(url.purpose, query)
}
export const stateEnterpriseCapi = query => {
  return net.post(url.stateEnterpriseCapi, query)
}
export const capiSource = query => {
  return net.post(url.capiSource, query)
}
export const assetOptimizationProgress = query => {
  return net.post(url.assetOptimizationProgress, query)
}
export const managementType = query => {
  return net.post(url.managementType, query)
}
export const position = query => {
  return net.post(url.position, query)
}
export const proxyShareholder = query => {
  return net.get(url.proxyShareholder, query)
}
// 治理机构产生方式下拉
export const leaderFormType = query => {
  return net.post(url.leaderFormType, query)
}
export const listedExchange = query => {
  return net.post(url.listedExchange, query)
}
export const indexFrom = query => {
  return net.post(url.indexFrom, query)
}
export const fillType = query => {
  return net.post(url.fillType, query)
}
export const Currency = query => {
  return net.post(url.Currency, query)
}
// 主办单位
export const Organizer = query => {
  return net.post(url.Organizer, query)
}
export const managementOrg = query => {
  return net.post(url.managementOrg, query)
}
export const moneyType = query => {
  return net.post(url.moneyType, query)
}
// 治理机构职务董事会下拉
export const director = query => {
  return net.post(url.director, query)
}
// 治理机构职务监事会下拉
export const supervisor = query => {
  return net.post(url.supervisor, query)
}
// 治理机构职务管理层下拉
export const management = query => {
  return net.post(url.management, query)
}
// 治理机构产生方式下拉
// export const leaderFormType = query => {
//   return net.post(url.leaderFormType, query)
// }
// 股东信息股份类别下拉
export const shareType = query => {
  return net.get(url.shareType, query)
}
// 产权新增股东信息股份类别下拉
export const queryTempShareType = query => {
  return net.post(url.queryTempShareType, query)
}
// 注册信息我方主要股东
export const mainShareholder = query => {
  return net.post(url.mainShareholder, query)
}
// 注册信息注册类型小类
export const queryRegisterDetailType = query => {
  return net.post(url.queryRegisterDetailType, query)
}
// 合伙企业合伙人类型
export const partnerType = query => {
  return net.post(url.partnerType, query)
}
// 合伙企业合伙人类别
export const partnerCategory = query => {
  return net.post(url.partnerCategory, query)
}
// 合伙人类型/别整合接口
export const queryALLBasicData = query => {
  return net.post(url.queryALLBasicData, query)
}
// 股东类别
export const shareholderType = query => {
  return net.post(url.shareholderType, query)
}
// 合伙企业出资方式
export const payType = query => {
  return net.post(url.payType, query)
}
// 所属地区选择
export const allArea = query => {
  return net.post(url.allArea, query)
}
// 基本信息派出单位
export const queryDispatchOrg = query => {
  return net.post(url.queryDispatchOrg, query)
}

/*
* 产权查询接口(正式表)
*/ 
export const queryCompany = query => {
  return net.post(url.queryCompany, query)
}
export const queryRegisterinfo = query => {
  return net.post(url.queryRegisterinfo, query)
}
export const queryCompanyinfo = query => {
  return net.post(url.queryCompanyinfo, query)
}
export const queryGovermentBody = query => {
  return net.post(url.queryGovermentBody, query)
}
export const judgeIsCompany = query => {
  return net.get(url.judgeIsCompany, query)
}
export const queryShareType = query => {
  return net.post(url.queryShareType, query)
}
export const companyShareList = query => {
  return net.post(url.companyShareList, query)
}
export const queryShareMsg = query => {
  return net.post(url.queryShareMsg, query)
}
export const queryPartner = query => {
  return net.post(url.queryPartner, query)
}
export const queryBranch = query => {
  return net.post(url.queryBranch, query)
}
export const queryOutMoney = query => {
  return net.post(url.queryOutMoney, query)
}
// 股票信息查询
export const companySharePrices = query => {
  return net.post(url.companySharePrices, query)
}
// 股东信息查询单条用于修改
export const queryShareMsgSingle = query => {
  return net.post(url.queryShareMsgSingle, query)
}
// 股东信息中证券账户下拉数据
export const queryaccountList = query => {
  return net.post(url.queryaccountList, query)
}
// 档案查询
export const taskArchives = query => {
  return net.post(url.taskArchives, query)
}
// 财务指标查询(查看)
export const companyFinance = query => {
  return net.get(url.companyFinance, query)
}
// 财务指标查询(菜单页面)
export const queryFinanceList = query => {
  return net.post(url.queryFinanceList, query)
}
// 财务指标行数据查询
export const querySingleFinance = query => {
  return net.post(url.querySingleFinance, query)
}
// 财务指标修改
export const editFinanceList = query => {
  return net.post(url.editFinanceList, query)
}
// 财务指标新增
export const addFinanceList = query => {
  return net.post(url.addFinanceList, query)
}
// 公司下拉数据查询
export const queryCompanyByName = query => {
  return net.post(url.queryCompanyByName, query)
}
// 股份类别中股份类型下拉查询
export const selectShareType = query => {
  return net.post(url.selectShareType, query)
}
// 股份类别中交易类型下拉查询
export const selectTransactType = query => {
  return net.post(url.selectTransactType, query)
}
// 股份类别中上市交易模块下拉查询
export const selectListedExchange = query => {
  return net.post(url.selectListedExchange, query)
}
// 股份类别查公司列表
export const queryShareTypeCompanyByName = query => {
  return net.post(url.queryShareTypeCompanyByName, query)
}
// 直接投资五项表格查询
export const shareVo2List = query => {
  return net.post(url.shareVo2List, query)
}
export const incorporated = query => {
  return net.post(url.incorporated, query)
}
export const partner = query => {
  return net.post(url.partner, query)
}
export const llc = query => {
  return net.post(url.llc, query)
}
export const branchOrgList = query => {
  return net.post(url.branchOrgList, query)
}
// 证券账户表格查询
export const querySecurities = query => {
  return net.post(url.querySecurities, query)
}
// 证券账户新增证券账户类别下拉数据
export const securitiesType = query => {
  return net.post(url.securitiesType, query)
}
// 新增证券账户
export const addSecuritiesAccount = query => {
  return net.post(url.addSecuritiesAccount, query)
}
// 删除证券账户
export const delSecurities = query => {
  return net.post(url.delSecurities, query)
}
// 修改证券账户
export const editSecurities = query => {
  return net.post(url.editSecurities, query)
}
// 查询单个证券账户信息
export const querySingleSecurities = query => {
  return net.post(url.querySingleSecurities, query)
}
// 产权退出
export const quitCompany = query => {
  return net.post(url.quitCompany, query)
}
// 产权退出(临时表)
export const quitTempCompany = query => {
  return net.post(url.quitTempCompany, query)
}
// 产权提交
export const handleSubmit = query => {
  return net.post(url.handleSubmit, query)
}
/**
 * 产权查询oa入口查询
 */
export const queryRegisterTypeOa = query => {
  return net.get(url.queryRegisterTypeOa, query)
}
export const registerMsgOa = query => {
  return net.post(url.registerMsgOa, query)
}
export const basicMsgOa = query => {
  return net.post(url.basicMsgOa, query)
}
export const controlMsgOa = query => {
  return net.post(url.controlMsgOa, query)
}
export const govermentMsgOa = query => {
  return net.post(url.govermentMsgOa, query)
}
export const shareTypeMsgOa = query => {
  return net.post(url.shareTypeMsgOa, query)
}
export const shareMsgOa = query => {
  return net.post(url.shareMsgOa, query)
}
export const querySingleGoverment = query => {
  return net.post(url.querySingleGoverment, query)
}
export const querySingleShareType = query => {
  return net.post(url.querySingleShareType, query)
}
export const querySingleOutMoneyTemporary = query => {
  return net.post(url.querySingleOutMoneyTemporary, query)
}

/*
* 产权修改接口(正式表)
*/
export const editControlFormal = query => {
  return net.post(url.editControlFormal, query)
}
export const editRegisterFormal = query => {
  return net.post(url.editRegisterFormal, query)
}
export const editGovermentFormal = query => {
  return net.post(url.editGovermentFormal, query)
}
export const editShareTypeFormal = query => {
  return net.post(url.editShareTypeFormal, query)
}
export const editShareMsgFormal = query => {
  return net.post(url.editShareMsgFormal, query)
}
export const editPartnerFormal = query => {
  return net.post(url.editPartnerFormal, query)
}
export const editbasicMsgFormal = query => {
  return net.post(url.editbasicMsgFormal, query)
}
export const querySingalGoverment = query => {
  return net.post(url.querySingalGoverment, query)
}
export const editAndAddOutMoney = query => {
  return net.post(url.editAndAddOutMoney, query)
}
export const querySingleOutMoney = query => {
  return net.post(url.querySingleOutMoney, query)
}

/**
 * 产权查询查询历史数据
 */
export const queryControlMsgHistroy = query => {
  return net.get(url.queryControlMsgHistroy, query)
}
export const queryRegisterMsgHistory = query => {
  return net.get(url.queryRegisterMsgHistory, query)
}
export const queryGovermentMsgHistory = query => {
  return net.get(url.queryGovermentMsgHistory, query)
}
export const queryShareMsgHistory = query => {
  return net.get(url.queryShareMsgHistory, query)
}
/**
 * 产权查询修改历史数据
 */
export const editRegisterMsgHistroy = query => {
  return net.post(url.editRegisterMsgHistroy, query)
}
export const editControlMsgHistroy = query => {
  return net.post(url.editControlMsgHistroy, query)
}
